
kernel/tty_io.o：     文件格式 elf32-i386
kernel/tty_io.o
体系结构：i386， 标志 0x00000011：
HAS_RELOC, HAS_SYMS
起始地址 0x00000000

节：
Idx Name          Size      VMA       LMA       File off  Algn
  0 .group        00000008  00000000  00000000  00000034  2**2
                  CONTENTS, READONLY, GROUP, LINK_ONCE_DISCARD
  1 .group        00000008  00000000  00000000  0000003c  2**2
                  CONTENTS, READONLY, GROUP, LINK_ONCE_DISCARD
  2 .text         0000009c  00000000  00000000  00000044  2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  3 .data         00000000  00000000  00000000  000000e0  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  4 .bss          00000000  00000000  00000000  000000e0  2**0
                  ALLOC
  5 .data.rel     00000c60  00000000  00000000  000000e0  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  6 .text.__x86.get_pc_thunk.cx 00000004  00000000  00000000  00000d40  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .text.__x86.get_pc_thunk.bx 00000004  00000000  00000000  00000d44  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .comment      00000025  00000000  00000000  00000d48  2**0
                  CONTENTS, READONLY
  9 .note.GNU-stack 00000000  00000000  00000000  00000d6d  2**0
                  CONTENTS, READONLY
 10 .note.gnu.property 0000001c  00000000  00000000  00000d70  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 11 .eh_frame     000000a4  00000000  00000000  00000d8c  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
SYMBOL TABLE:
00000000 l    df *ABS*	00000000 tty_io.c
00000000 l    d  .text	00000000 .text
00000000 l    d  .data	00000000 .data
00000000 l    d  .bss	00000000 .bss
00000000 l    d  .data.rel	00000000 .data.rel
00000000 l    d  .text.__x86.get_pc_thunk.cx	00000000 .text.__x86.get_pc_thunk.cx
00000000 l    d  .text.__x86.get_pc_thunk.bx	00000000 .text.__x86.get_pc_thunk.bx
00000000 l    d  .note.GNU-stack	00000000 .note.GNU-stack
00000000 l    d  .note.gnu.property	00000000 .note.gnu.property
00000000 l    d  .eh_frame	00000000 .eh_frame
00000000 l    d  .comment	00000000 .comment
00000000 l    d  .group	00000000 .group
00000000 l    d  .group	00000000 .group
00000000 g     F .text	0000001d tty_init
00000000 g     F .text.__x86.get_pc_thunk.bx	00000000 .hidden __x86.get_pc_thunk.bx
00000000         *UND*	00000000 _GLOBAL_OFFSET_TABLE_
00000000         *UND*	00000000 con_init
0000001d g     F .text	0000007f tty_write
00000000 g     F .text.__x86.get_pc_thunk.cx	00000000 .hidden __x86.get_pc_thunk.cx
00000000 g     O .data.rel	00000c60 tty_table
00000000         *UND*	00000000 con_write


Contents of section .group:
 0000 01000000 09000000                    ........        
Contents of section .group:
 0000 01000000 0a000000                    ........        
Contents of section .text:
 0000 f30f1efb 5383ec08 e8fcffff ff81c302  ....S...........
 0010 000000e8 fcffffff 83c4085b c3f30f1e  ...........[....
 0020 fb555756 5383ec1c e8fcffff ff81c102  .UWVS...........
 0030 0000008b 5424348b 74243885 f67e4001  ....T$4.t$8..~@.
 0040 d68d0500 00000089 44240c8d 3c010fb6  ........D$..<...
 0050 2a83c201 8b5c240c 8b841944 04000089  *....\$....D....
 0060 eb889c38 50040000 83c00125 ff030000  ...8P......%....
 0070 8b5c240c 89841944 04000039 d675cf83  .\$....D...9.u..
 0080 ec0c8d81 00000000 50ff912c 000000b8  ........P..,....
 0090 00000000 83c42c5b 5e5f5dc3           ......,[^_].    
Contents of section .data.rel:
 0000 00000000 05000000 00000000 0a0a0000  ................
 0010 00031c7f 15040001 00111319 00120f17  ................
 0020 16000000 00000000 00000000 00000000  ................
 0030 00000000 00000000 00000000 00000000  ................
 0040 00000000 00000000 00000000 00000000  ................
 0050 00000000 00000000 00000000 00000000  ................
 0060 00000000 00000000 00000000 00000000  ................
 0070 00000000 00000000 00000000 00000000  ................
 0080 00000000 00000000 00000000 00000000  ................
 0090 00000000 00000000 00000000 00000000  ................
 00a0 00000000 00000000 00000000 00000000  ................
 00b0 00000000 00000000 00000000 00000000  ................
 00c0 00000000 00000000 00000000 00000000  ................
 00d0 00000000 00000000 00000000 00000000  ................
 00e0 00000000 00000000 00000000 00000000  ................
 00f0 00000000 00000000 00000000 00000000  ................
 0100 00000000 00000000 00000000 00000000  ................
 0110 00000000 00000000 00000000 00000000  ................
 0120 00000000 00000000 00000000 00000000  ................
 0130 00000000 00000000 00000000 00000000  ................
 0140 00000000 00000000 00000000 00000000  ................
 0150 00000000 00000000 00000000 00000000  ................
 0160 00000000 00000000 00000000 00000000  ................
 0170 00000000 00000000 00000000 00000000  ................
 0180 00000000 00000000 00000000 00000000  ................
 0190 00000000 00000000 00000000 00000000  ................
 01a0 00000000 00000000 00000000 00000000  ................
 01b0 00000000 00000000 00000000 00000000  ................
 01c0 00000000 00000000 00000000 00000000  ................
 01d0 00000000 00000000 00000000 00000000  ................
 01e0 00000000 00000000 00000000 00000000  ................
 01f0 00000000 00000000 00000000 00000000  ................
 0200 00000000 00000000 00000000 00000000  ................
 0210 00000000 00000000 00000000 00000000  ................
 0220 00000000 00000000 00000000 00000000  ................
 0230 00000000 00000000 00000000 00000000  ................
 0240 00000000 00000000 00000000 00000000  ................
 0250 00000000 00000000 00000000 00000000  ................
 0260 00000000 00000000 00000000 00000000  ................
 0270 00000000 00000000 00000000 00000000  ................
 0280 00000000 00000000 00000000 00000000  ................
 0290 00000000 00000000 00000000 00000000  ................
 02a0 00000000 00000000 00000000 00000000  ................
 02b0 00000000 00000000 00000000 00000000  ................
 02c0 00000000 00000000 00000000 00000000  ................
 02d0 00000000 00000000 00000000 00000000  ................
 02e0 00000000 00000000 00000000 00000000  ................
 02f0 00000000 00000000 00000000 00000000  ................
 0300 00000000 00000000 00000000 00000000  ................
 0310 00000000 00000000 00000000 00000000  ................
 0320 00000000 00000000 00000000 00000000  ................
 0330 00000000 00000000 00000000 00000000  ................
 0340 00000000 00000000 00000000 00000000  ................
 0350 00000000 00000000 00000000 00000000  ................
 0360 00000000 00000000 00000000 00000000  ................
 0370 00000000 00000000 00000000 00000000  ................
 0380 00000000 00000000 00000000 00000000  ................
 0390 00000000 00000000 00000000 00000000  ................
 03a0 00000000 00000000 00000000 00000000  ................
 03b0 00000000 00000000 00000000 00000000  ................
 03c0 00000000 00000000 00000000 00000000  ................
 03d0 00000000 00000000 00000000 00000000  ................
 03e0 00000000 00000000 00000000 00000000  ................
 03f0 00000000 00000000 00000000 00000000  ................
 0400 00000000 00000000 00000000 00000000  ................
 0410 00000000 00000000 00000000 00000000  ................
 0420 00000000 00000000 00000000 00000000  ................
 0430 00000000 00000000 00000000 00000000  ................
 0440 00000000 00000000 00000000 00000000  ................
 0450 00000000 00000000 00000000 00000000  ................
 0460 00000000 00000000 00000000 00000000  ................
 0470 00000000 00000000 00000000 00000000  ................
 0480 00000000 00000000 00000000 00000000  ................
 0490 00000000 00000000 00000000 00000000  ................
 04a0 00000000 00000000 00000000 00000000  ................
 04b0 00000000 00000000 00000000 00000000  ................
 04c0 00000000 00000000 00000000 00000000  ................
 04d0 00000000 00000000 00000000 00000000  ................
 04e0 00000000 00000000 00000000 00000000  ................
 04f0 00000000 00000000 00000000 00000000  ................
 0500 00000000 00000000 00000000 00000000  ................
 0510 00000000 00000000 00000000 00000000  ................
 0520 00000000 00000000 00000000 00000000  ................
 0530 00000000 00000000 00000000 00000000  ................
 0540 00000000 00000000 00000000 00000000  ................
 0550 00000000 00000000 00000000 00000000  ................
 0560 00000000 00000000 00000000 00000000  ................
 0570 00000000 00000000 00000000 00000000  ................
 0580 00000000 00000000 00000000 00000000  ................
 0590 00000000 00000000 00000000 00000000  ................
 05a0 00000000 00000000 00000000 00000000  ................
 05b0 00000000 00000000 00000000 00000000  ................
 05c0 00000000 00000000 00000000 00000000  ................
 05d0 00000000 00000000 00000000 00000000  ................
 05e0 00000000 00000000 00000000 00000000  ................
 05f0 00000000 00000000 00000000 00000000  ................
 0600 00000000 00000000 00000000 00000000  ................
 0610 00000000 00000000 00000000 00000000  ................
 0620 00000000 00000000 00000000 00000000  ................
 0630 00000000 00000000 00000000 00000000  ................
 0640 00000000 00000000 00000000 00000000  ................
 0650 00000000 00000000 00000000 00000000  ................
 0660 00000000 00000000 00000000 00000000  ................
 0670 00000000 00000000 00000000 00000000  ................
 0680 00000000 00000000 00000000 00000000  ................
 0690 00000000 00000000 00000000 00000000  ................
 06a0 00000000 00000000 00000000 00000000  ................
 06b0 00000000 00000000 00000000 00000000  ................
 06c0 00000000 00000000 00000000 00000000  ................
 06d0 00000000 00000000 00000000 00000000  ................
 06e0 00000000 00000000 00000000 00000000  ................
 06f0 00000000 00000000 00000000 00000000  ................
 0700 00000000 00000000 00000000 00000000  ................
 0710 00000000 00000000 00000000 00000000  ................
 0720 00000000 00000000 00000000 00000000  ................
 0730 00000000 00000000 00000000 00000000  ................
 0740 00000000 00000000 00000000 00000000  ................
 0750 00000000 00000000 00000000 00000000  ................
 0760 00000000 00000000 00000000 00000000  ................
 0770 00000000 00000000 00000000 00000000  ................
 0780 00000000 00000000 00000000 00000000  ................
 0790 00000000 00000000 00000000 00000000  ................
 07a0 00000000 00000000 00000000 00000000  ................
 07b0 00000000 00000000 00000000 00000000  ................
 07c0 00000000 00000000 00000000 00000000  ................
 07d0 00000000 00000000 00000000 00000000  ................
 07e0 00000000 00000000 00000000 00000000  ................
 07f0 00000000 00000000 00000000 00000000  ................
 0800 00000000 00000000 00000000 00000000  ................
 0810 00000000 00000000 00000000 00000000  ................
 0820 00000000 00000000 00000000 00000000  ................
 0830 00000000 00000000 00000000 00000000  ................
 0840 00000000 00000000 00000000 00000000  ................
 0850 00000000 00000000 00000000 00000000  ................
 0860 00000000 00000000 00000000 00000000  ................
 0870 00000000 00000000 00000000 00000000  ................
 0880 00000000 00000000 00000000 00000000  ................
 0890 00000000 00000000 00000000 00000000  ................
 08a0 00000000 00000000 00000000 00000000  ................
 08b0 00000000 00000000 00000000 00000000  ................
 08c0 00000000 00000000 00000000 00000000  ................
 08d0 00000000 00000000 00000000 00000000  ................
 08e0 00000000 00000000 00000000 00000000  ................
 08f0 00000000 00000000 00000000 00000000  ................
 0900 00000000 00000000 00000000 00000000  ................
 0910 00000000 00000000 00000000 00000000  ................
 0920 00000000 00000000 00000000 00000000  ................
 0930 00000000 00000000 00000000 00000000  ................
 0940 00000000 00000000 00000000 00000000  ................
 0950 00000000 00000000 00000000 00000000  ................
 0960 00000000 00000000 00000000 00000000  ................
 0970 00000000 00000000 00000000 00000000  ................
 0980 00000000 00000000 00000000 00000000  ................
 0990 00000000 00000000 00000000 00000000  ................
 09a0 00000000 00000000 00000000 00000000  ................
 09b0 00000000 00000000 00000000 00000000  ................
 09c0 00000000 00000000 00000000 00000000  ................
 09d0 00000000 00000000 00000000 00000000  ................
 09e0 00000000 00000000 00000000 00000000  ................
 09f0 00000000 00000000 00000000 00000000  ................
 0a00 00000000 00000000 00000000 00000000  ................
 0a10 00000000 00000000 00000000 00000000  ................
 0a20 00000000 00000000 00000000 00000000  ................
 0a30 00000000 00000000 00000000 00000000  ................
 0a40 00000000 00000000 00000000 00000000  ................
 0a50 00000000 00000000 00000000 00000000  ................
 0a60 00000000 00000000 00000000 00000000  ................
 0a70 00000000 00000000 00000000 00000000  ................
 0a80 00000000 00000000 00000000 00000000  ................
 0a90 00000000 00000000 00000000 00000000  ................
 0aa0 00000000 00000000 00000000 00000000  ................
 0ab0 00000000 00000000 00000000 00000000  ................
 0ac0 00000000 00000000 00000000 00000000  ................
 0ad0 00000000 00000000 00000000 00000000  ................
 0ae0 00000000 00000000 00000000 00000000  ................
 0af0 00000000 00000000 00000000 00000000  ................
 0b00 00000000 00000000 00000000 00000000  ................
 0b10 00000000 00000000 00000000 00000000  ................
 0b20 00000000 00000000 00000000 00000000  ................
 0b30 00000000 00000000 00000000 00000000  ................
 0b40 00000000 00000000 00000000 00000000  ................
 0b50 00000000 00000000 00000000 00000000  ................
 0b60 00000000 00000000 00000000 00000000  ................
 0b70 00000000 00000000 00000000 00000000  ................
 0b80 00000000 00000000 00000000 00000000  ................
 0b90 00000000 00000000 00000000 00000000  ................
 0ba0 00000000 00000000 00000000 00000000  ................
 0bb0 00000000 00000000 00000000 00000000  ................
 0bc0 00000000 00000000 00000000 00000000  ................
 0bd0 00000000 00000000 00000000 00000000  ................
 0be0 00000000 00000000 00000000 00000000  ................
 0bf0 00000000 00000000 00000000 00000000  ................
 0c00 00000000 00000000 00000000 00000000  ................
 0c10 00000000 00000000 00000000 00000000  ................
 0c20 00000000 00000000 00000000 00000000  ................
 0c30 00000000 00000000 00000000 00000000  ................
 0c40 00000000 00000000 00000000 00000000  ................
 0c50 00000000 00000000 00000000 00000000  ................
Contents of section .text.__x86.get_pc_thunk.cx:
 0000 8b0c24c3                             ..$.            
Contents of section .text.__x86.get_pc_thunk.bx:
 0000 8b1c24c3                             ..$.            
Contents of section .comment:
 0000 00474343 3a202855 62756e74 7520392e  .GCC: (Ubuntu 9.
 0010 332e302d 31307562 756e7475 32292039  3.0-10ubuntu2) 9
 0020 2e332e30 00                          .3.0.           
Contents of section .note.gnu.property:
 0000 04000000 0c000000 05000000 474e5500  ............GNU.
 0010 020000c0 04000000 03000000           ............    
Contents of section .eh_frame:
 0000 14000000 00000000 017a5200 017c0801  .........zR..|..
 0010 1b0c0404 88010000 1c000000 1c000000  ................
 0020 00000000 1d000000 00450e08 8302430e  .........E....C.
 0030 10530e08 41c30e04 40000000 3c000000  .S..A...@...<...
 0040 1d000000 7f000000 00450e08 8502410e  .........E....A.
 0050 0c870341 0e108604 410e1483 05430e30  ...A....A....C.0
 0060 025a0e3c 470e404e 0e1441c3 0e1041c6  .Z.<G.@N..A...A.
 0070 0e0c41c7 0e0841c5 0e040000 10000000  ..A...A.........
 0080 80000000 00000000 04000000 00000000  ................
 0090 10000000 94000000 00000000 04000000  ................
 00a0 00000000                             ....            

Disassembly of section .text:

00000000 <tty_init>:
   0:	f3 0f 1e fb          	endbr32 
   4:	53                   	push   %ebx
   5:	83 ec 08             	sub    $0x8,%esp
   8:	e8 fc ff ff ff       	call   9 <tty_init+0x9>
			9: R_386_PC32	__x86.get_pc_thunk.bx
   d:	81 c3 02 00 00 00    	add    $0x2,%ebx
			f: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  13:	e8 fc ff ff ff       	call   14 <tty_init+0x14>
			14: R_386_PLT32	con_init
  18:	83 c4 08             	add    $0x8,%esp
  1b:	5b                   	pop    %ebx
  1c:	c3                   	ret    

0000001d <tty_write>:
  1d:	f3 0f 1e fb          	endbr32 
  21:	55                   	push   %ebp
  22:	57                   	push   %edi
  23:	56                   	push   %esi
  24:	53                   	push   %ebx
  25:	83 ec 1c             	sub    $0x1c,%esp
  28:	e8 fc ff ff ff       	call   29 <tty_write+0xc>
			29: R_386_PC32	__x86.get_pc_thunk.cx
  2d:	81 c1 02 00 00 00    	add    $0x2,%ecx
			2f: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  33:	8b 54 24 34          	mov    0x34(%esp),%edx
  37:	8b 74 24 38          	mov    0x38(%esp),%esi
  3b:	85 f6                	test   %esi,%esi
  3d:	7e 40                	jle    7f <tty_write+0x62>
  3f:	01 d6                	add    %edx,%esi
  41:	8d 05 00 00 00 00    	lea    0x0,%eax
			43: R_386_GOTOFF	tty_table
  47:	89 44 24 0c          	mov    %eax,0xc(%esp)
  4b:	8d 3c 01             	lea    (%ecx,%eax,1),%edi
  4e:	0f b6 2a             	movzbl (%edx),%ebp
  51:	83 c2 01             	add    $0x1,%edx
  54:	8b 5c 24 0c          	mov    0xc(%esp),%ebx
  58:	8b 84 19 44 04 00 00 	mov    0x444(%ecx,%ebx,1),%eax
  5f:	89 eb                	mov    %ebp,%ebx
  61:	88 9c 38 50 04 00 00 	mov    %bl,0x450(%eax,%edi,1)
  68:	83 c0 01             	add    $0x1,%eax
  6b:	25 ff 03 00 00       	and    $0x3ff,%eax
  70:	8b 5c 24 0c          	mov    0xc(%esp),%ebx
  74:	89 84 19 44 04 00 00 	mov    %eax,0x444(%ecx,%ebx,1)
  7b:	39 d6                	cmp    %edx,%esi
  7d:	75 cf                	jne    4e <tty_write+0x31>
  7f:	83 ec 0c             	sub    $0xc,%esp
  82:	8d 81 00 00 00 00    	lea    0x0(%ecx),%eax
			84: R_386_GOTOFF	tty_table
  88:	50                   	push   %eax
  89:	ff 91 2c 00 00 00    	call   *0x2c(%ecx)
			8b: R_386_GOTOFF	tty_table
  8f:	b8 00 00 00 00       	mov    $0x0,%eax
  94:	83 c4 2c             	add    $0x2c,%esp
  97:	5b                   	pop    %ebx
  98:	5e                   	pop    %esi
  99:	5f                   	pop    %edi
  9a:	5d                   	pop    %ebp
  9b:	c3                   	ret    

Disassembly of section .text.__x86.get_pc_thunk.cx:

00000000 <__x86.get_pc_thunk.cx>:
   0:	8b 0c 24             	mov    (%esp),%ecx
   3:	c3                   	ret    

Disassembly of section .text.__x86.get_pc_thunk.bx:

00000000 <__x86.get_pc_thunk.bx>:
   0:	8b 1c 24             	mov    (%esp),%ebx
   3:	c3                   	ret    
